<!--
 ! Excerpted from "Hello, Android!",
 ! published by The Pragmatic Bookshelf.
 ! Copyrights apply to this code. It may not be used to create training material, 
 ! courses, books, articles, and the like. Contact us if you are in doubt.
 ! We make no guarantees that this code is fit for any purpose. 
 ! Visit http://www.pragmaticprogrammer.com/titles/eband for more book information.
-->
<html>
<head>
<script type="text/javascript"> 
    function showAndroidToast(toast) { 
        Android.showToast(toast); 
    } 
</script>
</head>
<body>
<h1>WebView</h1>
<p>
<input type="button" value="Say hello" onClick="showAndroidToast('JavaScript say hello Android!')" />
</p>
<p> 
<a href="http://m.taobao.com">m.taobao.com</a>
</p>
<a href="tel:12345678">telephone:12345678</a>
</p>
</body>
</html>